import { ir, native, HomeCheckIrHint } from 'qvog-dsl';

export default native<HomeCheckIrHint>({ use: 'ir' })()
    .match((node): node is ir.ArkAssignStmt => {
        return node instanceof ir.ArkAssignStmt;
    })
    .report({ docPath: 'doc', description: 'Assignment check', severity: 2 });
